package adv1;

import java.util.*;

public class Test2 {

	public static void main(String[] args) {
		Set set = new HashSet();
		while (set.size() < 10) {
			set.add((int) (Math.random() * 20 + 1));
		}
		for (Object temp : set)
			System.out.print(temp + " ");

	}

}
